/******************************************************************************

	COPYRIGHT(C) JONAS 'SORTIE' TERMANSEN 2008, 2009, 2010.

	This file is part of Maxsi Distribution.

	Maxsi Distribution is free software: you can redistribute it and/or modify
	it under the terms of the GNU Lesser General Public License as published by
	the Free Software Foundation, either version 3 of the License, or (at your
	option) any later version.

	Maxsi Distribution is distributed in the hope that it will be useful, but
	WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
	or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
	License for more details.

	You should have received a copy of the GNU Lesser General Public License
	along with Maxsi Distribution. If not, see <http://www.gnu.org/licenses/>.

	MaxsiDistribution.dll
	A powerful digital distribution library designed for games and software.

	MaxsiDistributionLink.h
	An interface for Dynamic Linking.

******************************************************************************/

#ifndef MaxsiDistributionLink_H
#define MaxsiDistributionLink_H

	#ifdef MAXSIDISTRIBUTION_DLL
		#define MDLINK MAXSI_DLL_EXPORT
		#define MDLINKCPP MAXSI_DLL_EXPORT_CPP
		#define MDCLASSLINK extern "C" class MAXSI_DLL_EXPORT_DECL
		#define MDCLASSLINKCPP extern "C++" class MAXSI_DLL_EXPORT_DECL
		#define MDSTRUCTLINK extern "C" struct MAXSI_DLL_EXPORT_DECL
		#define MDSTRUCTLINKCPP extern "C++" struct MAXSI_DLL_EXPORT_DECL
		#define MDDLL_INTERFACE
		#define MDSDKEE_INTERFACE = 0
	#else
		#define MDLINK MAXSI_DLL_IMPORT
		#define MDLINKCPP MAXSI_DLL_IMPORT_CPP
		#define MDCLASSLINK extern "C" class MAXSI_DLL_IMPORT_DECL
		#define MDCLASSLINKCPP extern "C++" class MAXSI_DLL_IMPORT_DECL
		#define MDSTRUCTLINK extern "C" struct MAXSI_DLL_IMPORT_DECL
		#define MDSTRUCTLINKCPP extern "C++" struct MAXSI_DLL_IMPORT_DECL
		#define MDDLL_INTERFACE = 0
		#define MDSDKEE_INTERFACE
	#endif

#endif
